using Godot;

public partial class EventListener : Node
{
    [Signal] public delegate void TestSignalEventHandler();

    public override void _Ready()
    {
        TestSignal += () => GD.Print("测试信号");
    }

    public void OnGameStartBtnPressed()
    {
        EmitSignal(SignalName.TestSignal);
    }
}
